/**
 * Copyright (c) Freelens Authors. All rights reserved.
 * Copyright (c) OpenLens Authors. All rights reserved.
 * Licensed under MIT License. See LICENSE in root directory for more information.
 */

@use "../table/table.mixins";
@use "../workloads/workloads-mixins";

.Jobs {
  .TableCell {
    &.name {
      flex-grow: 2;
    }

    &.resumed {
      flex-grow: 0.4;
    }

    &.status {
      @include workloads-mixins.job-condition-colors;
    }

    &.succeeded {
      flex-grow: 0.5;
    }

    &.completions {
      flex-grow: 0.5;
    }

    &.parallelism {
      flex-grow: 0.5;
    }

    &.warning {
      @include table.table-cell-warning;
    }

    &.duration {
      flex-grow: 0.4;
    }

    &.age {
      flex-grow: 0.3;
    }
  }
}
